package Model;

/**
 * Created by anton.kasiyanenko@stud.fh-luebeck.de on 21.10.2014.
 */
public class Pedestrian {

    private float x;
    private float y;
    // wenn positive geschwindigkeit - von links nach rechts, wenn negative - umgekehrt
    private float speed = 2f;

    public Pedestrian(float x, float y, float speed) {
        this.x = x;
        this.y = y;
        this.speed = speed;
    }

    public float getX() {
        return x;
    }
    public void setX(float x) {
        this.x = x;
    }
    public float getY() {
        return y;
    }
    public void setY(float y) {
        this.y = y;
    }

    public float getSpeed() {
        return speed;
    }
    public void setSpeed(float speed) {
        this.speed = speed;
    }
}
